package com.esgov.chatbot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 文本机器人聊天记录
 * </p>
 *
 * @author Eric Lao
 * @since 2025-09-16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TChatbotLog对象", description="文本机器人聊天记录")
public class TChatbotLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "会话id")
    private String sessionId;

    @ApiModelProperty(value = "发送方：C-客户，R-机器人, SYS-系统")
    private String sender;

    @ApiModelProperty(value = "问题/答案")
    private String content;

    @ApiModelProperty(value = "反馈：1点赞，2点踩")
    private Integer feedback;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


}
